package com.ssy.lingxi.platform.template.service.model.dto.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 停用/启用 - DTO
 * @author fhj
 * @version 2.0.0
 * @date 2021/04/15
 */
@Data
public class CommonStatusDTO {

    @ApiModelProperty(value = "主键id")
    @NotNull(message = "主键id不能为空")
    private Long id;

    @ApiModelProperty(value = "状态 0-无效 1-有效")
    @NotNull(message = "状态不能为空")
    private Integer status;

}
